﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuaCheng.Model
{
    /// <summary>
    /// 用来传输收到数据的类
    /// </summary>
    public class ReceivedData
    {
        //接收到的数据
        public AsyncSocketState asyState { get; set; }
        //收到数据的字节数
        public int recv { get; set; }
        public ReceivedData(AsyncSocketState asyState,int recv)
        {
            this.asyState = asyState;
            this.recv = recv;
        }
    }
}
